package com.fjec.common.aspect;

/**
 * 异常处理AOP >> 接口调用次数与平均时间AOP >> 接口调用时间AOP
 * >> Ehcache缓存AOP >> Redis缓存AOP >>数据库路由AOP >> 事务处理AOP
 */
public class AspectOrder {

    /**
     * 异常处理AOP
     */
    public static final int VisitAspect = 1;
    /**
     * 接口调用次数与平均时间AOP
     */
    public static final int WatchAspect = 2;
    /**
     * 接口调用时间AOP
     */
    public static final int HealthAspect = 3;
    /**
     * Ehcache缓存AOPA
     */
    public static final int EnableCaching = 4;
    /**
     * Redis缓存AOP
     */
    public static final int RedisCacheAspect = 5;
    /**
     * 数据库路由AOP
     */
    public static final int DataSourceAspect = 6;
    /**
     * 记录操作日志AOP
     */
    public static final int LogAspect = 7;
    /**
     * 事务处理AOP
     */
    public static final int EnableTransactionManagement = Integer.MAX_VALUE;


}
